<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title><?php echo ($current['title']); ?>-<?php echo (C("title")); ?></title>
		<meta name="keywords" content="<?php echo (C("keywords")); ?>" />
		<meta name="description" content="<?php echo (C("description")); ?>" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		<link rel="stylesheet" href="__CSS__/jquery-ui.css" />
		<link rel="stylesheet" href="__CSS__/chosen.css" />

		<!-- 本页css式样文件 -->
			<!-- page specific plugin styles -->
		



		<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title><?php echo ($current['title']); ?>-<?php echo (C("sitename")); ?></title>

    <meta name="keywords" content="<?php echo (C("keywords")); ?>"/>
    <meta name="description" content="<?php echo (C("description")); ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>


    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="/Public/qwadmin/css/bootstrap.css"/>
    <link rel="stylesheet" href="/Public/qwadmin/css/font-awesome.css"/>
    <link rel="stylesheet" href="/Public/qwadmin/css/jquery-ui.css"/>
    <!-- page specific plugin styles -->

    <!-- text fonts -->
    <link rel="stylesheet" href="/Public/qwadmin/css/ace-fonts.css"/>

    <!-- ace styles -->
    <link rel="stylesheet" href="/Public/qwadmin/css/ace.css" class="ace-main-stylesheet" id="main-ace-style"/>

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="/Public/qwadmin/css/ace-part2.css" class="ace-main-stylesheet"/>
    <![endif]-->

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="/Public/qwadmin/css/ace-ie.css"/>

    <![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->
    <script src="/Public/qwadmin/js/ace-extra.js"></script>

    <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

    <!--[if lte IE 8]>
    <script src="/Public/qwadmin/js/html5shiv.js"></script>
    <script src="/Public/qwadmin/js/respond.js"></script>
    <![endif]-->
</head>
   </head>

	<body class="no-skin">
		<!-- #section:basics/navbar.layout -->
<div id="navbar" class="navbar navbar-default">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>
    <div class="navbar-container" id="navbar-container">
        <!-- #section:basics/sidebar.mobile.toggle -->
        <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
            <span class="sr-only"></span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>
        </button>
        <!-- /section:basics/sidebar.mobile.toggle -->
        <div class="navbar-header pull-left" style="margin-left: -4px">
            <!-- #section:basics/navbar.layout.brand -->
            <a href="<?php echo U('index/index');?>" class="navbar-brand">
                <small>
                    <i class="fa fa-home"></i>
                    <?php echo (C("sitename")); ?>
                </small>
            </a>
        </div>

        <!-- 右侧菜单 -->
        <div class="navbar-buttons navbar-header pull-right" role="navigation" style="margin-right: -10px">
            <ul class="nav ace-nav">
                <li class="light-blue">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <img class="nav-user-photo" src="<?php if( $user["head"] == '' ): ?>/Public/qwadmin/avatars/avatar2.png
                        <?php else: ?>
                        <?php echo ($user["head"]); endif; ?>" alt="<?php echo ($user["user"]); ?>" />
                        <span class="user-info">
                            <small>欢迎光临，</small>
                            <?php echo ($user["user"]); ?>
                        </span>

                        <i class="ace-icon fa fa-caret-down"></i>
                    </a>

                    <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li >
                            <a href="<?php echo U('cache/clear');?>" title="清除缓存" target="_self">
                                <i class="ace-icon fa fa-trash"></i>
                                清除缓存
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo U('Personal/profile');?>">
                                <i class="ace-icon fa fa-user"></i>
                                个人资料
                            </a>
                        </li>
                        <li class="">
                            <a href="/" title="前台首页" target="_blank">
                                <i class="ace-icon fa fa-home"></i>
                                前台首页
                            </a>
                        </li>
                        <li class="divider"></li>

                        <li>
                            <a href="<?php echo U('logout/index');?>">
                                <i class="ace-icon fa fa-power-off"></i>
                                退出
                            </a>
                        </li>
                    </ul>
                </li>

                <!-- /section:basics/navbar.user_menu -->
            </ul>
        </div>
        <!-- 主菜单 -->
        <nav role="navigation" class="navbar-menu pull-left collapse navbar-collapse" id="navmenu">
            <!-- #section:basics/navbar.nav -->
            <ul class="nav navbar-nav">
                <?php if(is_array($menu)): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li <?php if(($v['id'] == $current['id']) OR ($v['id'] == $current['pid']) OR ($v['id'] == $current['ppid'])): ?>class="active<?php if($current['pid'] != '0'): ?>open<?php endif; ?>"<?php endif; ?>>
                     <a href="<?php if(empty($v["name"])): ?>#<?php else: echo U($v['name']); endif; ?>"<?php if(!empty($v["children"])): ?>class="dropdown-toggle" data-toggle="dropdown"<?php endif; ?>>
                        <i class="<?php echo ($v["icon"]); ?>"></i>
                        <span class="menu-text"><?php echo ($v["title"]); ?></span>
                        <?php if(!empty($v["children"])): ?><i class="ace-icon fa fa-angle-down bigger-110"></i><?php endif; ?>
                    </a>
                    <?php if(!empty($v["children"])): ?><ul class=" dropdown-menu dropdown-light-blue dropdown-caret">
                            <?php if(is_array($v["children"])): $i = 0; $__LIST__ = $v["children"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?><li
                                <?php if(($vv['id'] == $current['id']) OR ($vv['id'] == $current['pid'])): ?>class="active
                                    <?php if($current['ppid'] != '0'): ?>open<?php endif; ?>
                                    "<?php endif; ?>
                                >
                                <a href="<?php if(empty($vv["children"])): echo U($vv['name']);?>
                                    <?php else: ?>
                                    #<?php endif; ?>"
                                    <?php if(!empty($vv["children"])): ?>class="dropdown-toggle" data-toggle="dropdown"<?php endif; ?>
                                    >
                                    <i class="<?php echo ($vv["icon"]); ?>"></i>
                                    <?php echo ($vv["title"]); ?>
                                    <?php if(!empty($vv["children"])): ?><b class="arrow fa fa-angle-down"></b><?php endif; ?>
                                </a>
                                <?php if(!empty($vv["children"])): ?><ul class="dropdown-menu dropdown-light-blue dropdown-caret" >
                                        <?php if(is_array($vv["children"])): $i = 0; $__LIST__ = $vv["children"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vvv): $mod = ($i % 2 );++$i;?><li
                                            <?php if($vvv['id'] == $current['id']): ?>class="active"<?php endif; ?>
                                            >
                                            <a href="<?php echo U($vvv['name']);?>" data-toggle="dropdown">
                                                <i class="<?php echo ($vvv["icon"]); ?>"></i>
                                                <?php echo ($vvv["title"]); ?>
                                            </a>
                                            <i class="ace-icon fa fa-angle-down bigger-110"></i>
                                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul><?php endif; ?>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>
                </ul><?php endif; endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</nav>
</div>
<!-- /.navbar-container -->
</div>
<!-- /section:basics/navbar.layout -->
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div id="sidebar" class="sidebar responsive menu-min">
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'fixed')
            } catch (e) {
            }
        </script>

		<ul class="nav nav-list" >
			<?php if(is_array($menu)): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li <?php if(($v['id'] == $current['id']) OR ($v['id'] == $current['pid']) OR ($v['id'] == $current['ppid'])): ?>class="active  <?php if($current['pid'] != '0'): ?>open<?php endif; ?>"<?php endif; ?> >
					<a href="<?php if(empty($v["name"])): ?>#<?php else: echo U($v['name']); endif; ?>" <?php if(!empty($v["children"])): ?>class="dropdown-toggle"<?php endif; ?>>
						<i class="<?php echo ($v["icon"]); ?>" ></i>
						<span class="menu-text">
							<?php echo ($v["title"]); ?>
						</span>
						<?php if(!empty($v["children"])): ?><b class="arrow fa fa-angle-down"></b><?php endif; ?>
					</a>

					<b class="arrow"></b>
					<?php if(!empty($v["children"])): ?><ul class="submenu" >
							<?php if(is_array($v["children"])): $i = 0; $__LIST__ = $v["children"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vv): $mod = ($i % 2 );++$i;?><li <?php if(($vv['id'] == $current['id']) OR ($vv['id'] == $current['pid'])): ?>class="active <?php if($current['ppid'] != '0'): ?>open<?php endif; ?>"<?php endif; ?>>
									<a href="<?php if(empty($vv["children"])): echo U($vv['name']); else: ?>#<?php endif; ?>" <?php if(!empty($vv["children"])): ?>class="dropdown-toggle"<?php endif; ?>>
										<i class="<?php if(empty($vv["icon"])): ?>menu-icon fa fa-caret-right <?php else: echo ($vv["icon"]); endif; ?>"></i>
										<?php echo ($vv["title"]); ?>
										<?php if(!empty($vv["children"])): ?><b class="arrow fa fa-angle-down"></b><?php endif; ?>
									</a>

									<b class="arrow"></b>
									<?php if(!empty($vv["children"])): ?><ul class="submenu">
											<?php if(is_array($vv["children"])): $i = 0; $__LIST__ = $vv["children"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vvv): $mod = ($i % 2 );++$i;?><li <?php if($vvv['id'] == $current['id']): ?>class="active"<?php endif; ?>>
													<a href="<?php echo U($vvv['name']);?>">
														<i class="<?php echo ($vvv["icon ? $vvv"]["icon : menu-icon fa fa-caret-right"]); ?>"></i>
														<?php echo ($vvv["title"]); ?>
													</a>
													<b class="arrow"></b>
												</li><?php endforeach; endif; else: echo "" ;endif; ?>
										</ul><?php endif; ?>
								</li><?php endforeach; endif; else: echo "" ;endif; ?>
						</ul><?php endif; ?>
				</li><?php endforeach; endif; else: echo "" ;endif; ?>

		</ul><!-- /.nav-list -->

		<!-- #section:basics/sidebar.layout.minimize -->
		<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse" >
			<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
		</div>

		<!-- /section:basics/sidebar.layout.minimize -->
		<script type="text/javascript">
			try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
		</script>
	</div>

			<!-- /section:basics/sidebar -->
			<div class="main-content">
				<div class="main-content-inner">
					<!-- #section:basics/content.breadcrumbs -->
					    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try {
                ace.settings.check('breadcrumbs', 'fixed')
            } catch (e) {
            }
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="ace-icon fa fa-home home-icon"></i>
                <a href="<?php echo U('index/index');?>">首页</a>
            </li>
            <?php if(isset($current['ptitle'])): ?><li>
                    <a href="#"><?php echo ($current['ptitle']); ?></a>
                </li><?php endif; ?>
            <li class="active"><?php echo ($current['title']); ?></li>
        </ul><!-- /.breadcrumb -->
    </div>
   

					<!-- /section:basics/content.breadcrumbs -->
					<div class="page-content">
						    <!-- #section:settings.box -->
    <?php if($current["tips"] != ''): ?><div class="alert alert-block alert-success">
            <button type="button" class="close" data-dismiss="alert">
                <i class="ace-icon fa fa-times"></i>
            </button>
            <!--i class="ace-icon fa fa-check green"></i-->
            <?php echo ($current["tips"]); ?>
        </div><?php endif; ?>
    <div class="ace-settings-container" id="ace-settings-container">
        <div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
            <i class="ace-icon fa fa-cog bigger-130"></i>
        </div>

        <div class="ace-settings-box clearfix" id="ace-settings-box">
            <div class="pull-left width-50">
                <!-- #section:settings.skins -->
                <div class="ace-settings-item">
                    <div class="pull-left">
                        <select id="skin-colorpicker" class="hide">
                            <option data-skin="no-skin" value="#438EB9">#438EB9</option>
                            <option data-skin="skin-1" value="#222A2D">#222A2D</option>
                            <option data-skin="skin-2" value="#C6487E">#C6487E</option>
                            <option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
                        </select>
                    </div>
                    <span>&nbsp; 选择皮肤</span>
                </div>

                <!-- /section:settings.skins -->

                <!-- #section:settings.navbar -->
                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar"/>
                    <label class="lbl" for="ace-settings-navbar"> 固定导航条</label>
                </div>

                <!-- /section:settings.navbar -->

                <!-- #section:settings.sidebar -->
                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar"/>
                    <label class="lbl" for="ace-settings-sidebar"> 固定侧边栏</label>
                </div>

                <!-- /section:settings.sidebar -->

                <!-- #section:settings.breadcrumbs -->
                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs"/>
                    <label class="lbl" for="ace-settings-breadcrumbs"> 固定面包屑</label>
                </div>

                <!-- /section:settings.breadcrumbs -->

                <!-- #section:settings.rtl -->
                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl"/>
                    <label class="lbl" for="ace-settings-rtl"> 切换至左边</label>
                </div>

                <!-- /section:settings.rtl -->

                <!-- #section:settings.container -->
                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container"/>
                    <label class="lbl" for="ace-settings-add-container">
                        切换宽窄度
                    </label>
                </div>

                <!-- /section:settings.container -->
            </div><!-- /.pull-left -->

            <div class="pull-left width-50">
                <!-- #section:basics/sidebar.options -->
                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-hover"/>
                    <label class="lbl" for="ace-settings-hover"> 子菜单收起</label>
                </div>

                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-compact"/>
                    <label class="lbl" for="ace-settings-compact"> 侧边栏紧凑</label>
                </div>

                <div class="ace-settings-item">
                    <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-highlight"/>
                    <label class="lbl" for="ace-settings-highlight"> 当前位置</label>
                </div>

                <!-- /section:basics/sidebar.options -->
            </div><!-- /.pull-left -->
        </div><!-- /.ace-settings-box -->
    </div><!-- /.ace-settings-container -->
                        
						<!-- /section:settings.box -->
						<h3 lass="widget-title info">数据选择</h3>
						<div class="row">
							<!-- PAGE CONTENT BEGINS -->  
          
					    <!-- 文件上传 -->
                        <div class="col-sm-5">
											<div class="widget-box">
												<div class="widget-header">
													<h4 class="widget-title">execl文件上传</h4>

													<div class="widget-toolbar">
														<a href="#" data-action="collapse">
															<i class="ace-icon fa fa-chevron-up"></i>
														</a>

														<a href="#" data-action="close">
															<i class="ace-icon fa fa-times"></i>
														</a>
													</div>
												</div>

												<div class="widget-body">
												<form action="<?php echo u(upload);?>" method="post" enctype="multipart/form-data"  target="myifram" id="uploadform">
													<div class="widget-main">
														<div class="form-group">
															<div class="col-xs-12">
																<!-- #section:custom/file-input -->
																<input type="file" id="id-input-file-2" name="file" />
															</div>
														</div>
														<!-- #section:custom/file-input.filter -->
														<div class='row text-right'>
														   <div class="col-xs-6"><iframe name="myifram" frameborder="0" width="100%" height="30px"  scrolling="none"></iframe></div>
														   <div class="col-xs-6"><button class="btn btn-primary btn-sm" type="submit" id="import">确定上传</button></div>
														</div>										
														<!-- /section:custom/file-input.filter -->
													</div>
													</form>
													 
												</div>
											</div>
										</div>

							
                   <!-- 导入数据选择 -->
                            <div class="col-xs-5"> 
							<div class="widget-box">
												<div class="widget-header">
													<h4 class="widget-title">目标数据表选择</h4>

													<div class="widget-toolbar">
														<a href="#" data-action="collapse">
															<i class="ace-icon fa fa-chevron-up"></i>
														</a>

														<a href="#" data-action="close">
															<i class="ace-icon fa fa-times"></i>
														</a>
													</div>
												</div>

												<div class="widget-body">
                                                <div>
                                                   <div class="space-4"></div>
                                                      <div>
															<label for="form-field-select-3">&nbsp;&nbsp;<i class='mebu-icon fa fa-hdd-o'>&nbsp;目标数据表</i></label>
															<br>
															<select class="chosen-select form-control" id="form-field-select-3" data-placeholder="Choose a State..." style="display: none;">
																<option value="">  </option>
																<option value="AL">Alabama</option>
																<option value="AK">Alaska</option>
																<option value="AZ">Arizona</option>
																<option value="AR">Arkansas</option>
																<option value="CA">California</option>
																<option value="CO">Colorado</option>
																<option value="CT">Connecticut</option>
																<option value="DE">Delaware</option>
																<option value="FL">Florida</option>
																<option value="GA">Georgia</option>
																<option value="HI">Hawaii</option>
																<option value="ID">Idaho</option>
																<option value="IL">Illinois</option>
																<option value="IN">Indiana</option>
																<option value="IA">Iowa</option>
																<option value="KS">Kansas</option>
																<option value="KY">Kentucky</option>
																<option value="LA">Louisiana</option>
																<option value="ME">Maine</option>
																<option value="MD">Maryland</option>
																<option value="MA">Massachusetts</option>
																<option value="MI">Michigan</option>
																<option value="MN">Minnesota</option>
																<option value="MS">Mississippi</option>
																<option value="MO">Missouri</option>
																<option value="MT">Montana</option>
																<option value="NE">Nebraska</option>
																<option value="NV">Nevada</option>
																<option value="NH">New Hampshire</option>
																<option value="NJ">New Jersey</option>
																<option value="NM">New Mexico</option>
																<option value="NY">New York</option>
																<option value="NC">North Carolina</option>
																<option value="ND">North Dakota</option>
																<option value="OH">Ohio</option>
																<option value="OK">Oklahoma</option>
																<option value="OR">Oregon</option>
																<option value="PA">Pennsylvania</option>
																<option value="RI">Rhode Island</option>
																<option value="SC">South Carolina</option>
																<option value="SD">South Dakota</option>
																<option value="TN">Tennessee</option>
																<option value="TX">Texas</option>
																<option value="UT">Utah</option>
																<option value="VT">Vermont</option>
																<option value="VA">Virginia</option>
																<option value="WA">Washington</option>
																<option value="WV">West Virginia</option>
																<option value="WI">Wisconsin</option>
																<option value="WY">Wyoming</option>
															</select><div class="chosen-container chosen-container-single" style="width: 516px;" title="" id="form_field_select_3_chosen"><a class="chosen-single chosen-default" tabindex="-1"><span>Choose a State...</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off"></div><ul class="chosen-results"><li class="no-results">No results match "<span>ssss</span>"</li></ul></div></div>
														</div>

												</div>
											</div>
                              </div>
						</div>
					</div><!-- /.row -->
                    <hr /><h3 lass="widget-title info">字段匹配</h3>
                    <div class="row">
                    <!-- EXEcl数据表字段列表 -->
                        <div class="col-sm-5">
											<div class="widget-box">
												<div class="widget-header">
													<h4 class="widget-title">execl数据字段列表</h4>

													<div class="widget-toolbar">
														<a href="#" data-action="collapse">
															<i class="ace-icon fa fa-chevron-up"></i>
														</a>

														<a href="#" data-action="close">
															<i class="ace-icon fa fa-times"></i>
														</a>
													</div>
												</div>
												<div class="widget-body">
													<?php if(is_array($tableheads)): $i = 0; $__LIST__ = $tableheads;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$titleval): $mod = ($i % 2 );++$i;?><div><?php echo ($titleval); ?></div><?php endforeach; endif; else: echo "" ;endif; ?>
												
												</div>
											</div>
										</div>
                        

                    </div>




				</div>
			</div><!-- /.main-content -->
			    <div class="footer">
        <div class="footer-inner">
            <!-- #section:basics/footer -->
            <div class="footer-content">
                            <span class="bigger-120">
                                <small>Copyright &copy; <a href="http://www.hncxhd.com" target="_blank"><?php echo (C("footer")); ?></a> All Rights Reserved.</small>
                            </span>
            </div>

            <!-- /section:basics/footer -->
        </div>
    </div>

    <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
        <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
    </a>
			
		</div><!-- /.main-container -->

		<!-- basic scripts -->

<!--[if !IE]> -->
<script type="text/javascript">
    window.jQuery || document.write("<script src='/Public/qwadmin/js/jquery.js'>" + "<" + "/script>");
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
    window.jQuery || document.write("<script src='/Public/qwadmin/js/jquery1x.js'>" + "<" + "/script>");
</script>
<![endif]-->
<script type="text/javascript">
    if ('ontouchstart' in document.documentElement) document.write("<script src='/Public/qwadmin/js/jquery.mobile.custom.js'>" + "<" + "/script>");
</script>
<script src="/Public/qwadmin/js/bootstrap.js"></script>

<!-- page specific plugin scripts -->
<script charset="utf-8" src="/Public/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="/Public/kindeditor/lang/zh_CN.js"></script>
<script src="/Public/qwadmin/js/bootbox.js"></script>
<!-- ace scripts -->
<script src="/Public/qwadmin/js/fuelux/fuelux.tree.js"></script>
<script src="/Public/qwadmin/js/ace-elements.js"></script>
<!-- <script src="/Public/qwadmin/js/ace/elements.wizard.js"></script>
<script src="/Public/qwadmin/js/ace/elements.aside.js"></script> -->
<script src="/Public/qwadmin/js/ace/ace.js"></script>
<script src="/Public/qwadmin/js/ace/ace.ajax-content.js"></script>
<script src="/Public/qwadmin/js/ace/ace.touch-drag.js"></script>
<script src="/Public/qwadmin/js/ace/ace.sidebar.js"></script>
<script src="/Public/qwadmin/js/ace/ace.sidebar-scroll-1.js"></script>
<script src="/Public/qwadmin/js/ace/ace.submenu-hover.js"></script>
<script src="/Public/qwadmin/js/ace/ace.widget-box.js"></script>
<script src="/Public/qwadmin/js/ace/ace.settings.js"></script>
<script src="/Public/qwadmin/js/ace/ace.settings-rtl.js"></script>
<script src="/Public/qwadmin/js/ace/ace.settings-skin.js"></script>
<script src="/Public/qwadmin/js/ace/ace.widget-on-reload.js"></script>
<script src="/Public/qwadmin/js/ace/ace.searchbox-autocomplete.js"></script>
<script src="/Public/qwadmin/js/jquery-ui.js"></script>

<!--弹出model层-->
     




    
      
        <div id="dialog-message" class="ui-dialog-content ui-widget-content" style="width: auto; min-height: 28px; max-height: none; height: auto;">
											  
          <form method="post" action="<?php echo u(upload);?>" enctype="multipart/form-data" id="myform">
                                                     <h3 >导入Excel表：</h3><input type="file" name="file_stu" />
 
                                                     <input type="submit" value="导入" />
                                                </form> 
		</div>

									




    

     
     
    


	</body>

<script src="/Public/qwadmin/js/jquery-ui.custom.js"></script>


</html>
<script>
    $(function(){

    //    //对话框
    // 	$.widget("ui.dialog", $.extend({}, $.ui.dialog.prototype, {
				// 	_title: function(title) {
				// 		var $title = this.options.title || '&nbsp;'
				// 		if( ("title_html" in this.options) && this.options.title_html == true )
				// 			title.html($title);
				// 		else title.text($title);
				// 	}
				// }));

        $("#import").click(function(){
            $("#uploadform").submit();
        })


    	$("#import1").click(function(e){
          
             $('.aside').ace_aside({
                    placement: 'top',
                    offset: true,
                    background: true,
                    body_scroll: false
             });
                     e.preventDefault();
					var dialog = $( "#dialog-message" ).removeClass('hide').dialog({
						modal: true,
						title: "<div class='widget-header widget-header-small'><h4 class='smaller'><i class='ace-icon fa fa-cloud-upload'></i>&nbsp;数据上传</h4></div>",
						title_html: true,
						buttons: [ 
							{
								text: "Cancel",
								"class" : "btn btn-danger btn-xs",
								click: function() {
									$( this ).dialog( "close" ); 
								} 
							},
						]
					});
			
					
					dialog.data( "uiDialog" )._title = function(title) {
						title.html( this.options.title );
					};
					
    	})

/////////////////////下拉选框
if(!ace.vars['touch']) {
					$('.chosen-select').chosen({allow_single_deselect:true}); 
					//resize the chosen on window resize
			
					$(window)
					.off('resize.chosen')
					.on('resize.chosen', function() {
						$('.chosen-select').each(function() {
							 var $this = $(this);
							 $this.next().css({'width': $this.parent().width()});
						})
					}).trigger('resize.chosen');
					//resize chosen on sidebar collapse/expand
					$(document).on('settings.ace.chosen', function(e, event_name, event_val) {
						if(event_name != 'sidebar_collapsed') return;
						$('.chosen-select').each(function() {
							 var $this = $(this);
							 $this.next().css({'width': $this.parent().width()});
						})
					});
			
			
					$('#chosen-multiple-style .btn').on('click', function(e){
						var target = $(this).find('input[type=radio]');
						var which = parseInt(target.val());
						if(which == 2) $('#form-field-select-4').addClass('tag-input-style');
						 else $('#form-field-select-4').removeClass('tag-input-style');
					});
				}




})

 ////custom file input 

$('#id-input-file-2').ace_file_input({
					no_file:'请选择文件 ...',
					btn_choose:'选择',
					btn_change:'修改',
					droppable:false,
					onchange:null,
					thumbnail:false,//| true | large
					whitelist:'xls|xlsx'
					//blacklist:'exe|php'
					//onchange:''
					//
				});
				//pre-show a file name, for example a previously selected file
				//$('#id-input-file-1').ace_file_input('show_file_list', ['myfile.txt'])



	</script>